package general;

import java.util.Date;
import java.util.UUID;

import net.jini.core.entry.Entry;

public class ProductRequest implements Entry  {
	public UUID fProductId;
	public Date fEndTime;
	public ProductPrice fMinimumPrice;
	public Product fProduct;
	
	public ProductRequest() {}
	
	public ProductRequest(UUID productId, Date endTime, ProductPrice minPrice, Product product) {
		fProductId = productId;
		fEndTime = endTime;
		fMinimumPrice = minPrice;
		fProduct = product;
	}
	
	public ProductPrice getProductPrice(){
		return fMinimumPrice;
	}
	
	public UUID getProductID(){
		return fProductId;
	}
	
	public Product getProduct(){
		return fProduct;
	}
}
